/* node打包文件成zip */
const compressing = require('compressing');
 
compressing.zip.compressDir('compressingDemo', 'compressingDemo.zip')
 .then(() => {
  console.log('success');
 })
 .catch(err => {
  console.error(err);
 });